#ifndef USERPROG_PROCESS_H
#define USERPROG_PROCESS_H

#include "threads/thread.h"

int GetArgumentCount(const char * string);
void argument_stack(char ** parse, int count, void ** esp);
struct thread *get_child_process(int pid);
void remove_child_process(struct thread * cp);

tid_t process_execute (const char *file_name);
int process_wait (tid_t);
void process_exit (void);
void process_activate (void);

#endif /* userprog/process.h */
